<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>北京联合大学</title>
</head>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- <link rel="stylesheet" href="https://at.alicdn.com/t/font_835526_xufba1hg66.css"> -->
<link rel="stylesheet" href="https://at.alicdn.com/t/font_835526_uzbxo9d25is.css">
<link rel="stylesheet" href="../../css/Initialization.css">
<link rel="stylesheet" href="../../css/commen.css">
<link rel="stylesheet" href="../../css/JiaoShoustudentfenzidrsrch.css">
<body>
<div id="content">
    <div class="initer">
            <!-- 具体内容 -->
            <div class="bread">
                <div class="plain">
                    学生签到查询
                </div>

                <div class="tongji">
                    <span>当前在线：</span>
                    <span class="green" th:text="${arrived}+'人'">32人</span>
                    <span class="line"></span>
                    <span>未到：</span>
                    <span class="green" th:text="${notarrived}+'人'">2人</span>
                </div>
            </div>
            <div class="teacherlookwork teacherlookteam teacherHuiZong JiaoShoustudentfenzidrsrch" style="padding:30px">
                <table class="table">
                    <tr class="tabletitle">
                        <td>序号</td>
                        <td>姓名</td>
                        <td>性别</td>
                        <td>班级</td>
                        <td>学号</td>
                        <td>状态</td>
                        <td>签到时间</td>
                    </tr>
                    <tr th:each="person,perStr : ${personList.getList()}">
                        <td th:text="${perStr.count}">1</td>
                        <td th:text="${person.realname}">李国庆</td>
                        <td th:if="${person.sex == 0}">男</td>
                        <td th:if="${person.sex == 1}">女</td>
                        <td th:text="${person.departname}">商务实训4班</td>
                        <td th:text="${person.userno}">15127805023</td>
                        <td>
                            <div class="min-button" th:if="${person.logintime > zero}">已经签到</div>
                            <div class="min-button min-button-active" th:if="${person.logintime < zero}">未签到</div>
                        </td>
                        <td th:text="${#dates.format(person.logintime, 'yyyy-MM-dd HH:MM:ss')}" th:if="${person.logintime > zero}">2019-10-18 10:00:00</td>
                        <td th:if="${person.logintime < zero}"></td>
                    </tr>
                </table>
                <!-- 分页 -->
                <div class="pages" th:utext="${personList.getPageHtml()}"></div>
            </div>
        </div>
</div>
<script src="../../js/jquery-3.4.1.min.js"></script>
<script src="../../js/commen.js"></script>
</body>
</html>

